
<style>
	.appmsg{position: relative;border:0 none; border-bottom: 1px solid #e7e7eb;}
	.item-status{position:absolute;right:3px;top:0;font-size: 12px;}
	#maincontent{margin-bottom: 50px;padding:10px 0;}
	.appmsg_content { padding: 0 0;}
	.products{display:flex;}
	.products .cover{width:100px;margin: 0 2px;height: 100px;    background-size: contain; background-position: center;background-repeat: no-repeat;}
</style>

       <div class="ui-portlet" style="margin-top:10px;">
	       <div class="clearfix ui-portlet-list" id="storefront-list">
	       {{loop $groups $g}}
			   {{if $gpros[$g['Misccate']['id']]}}
	       		<div class="appmsg">
		       		<div class="appmsg_content">
		       		<h4><a href="{{$this->Html->url('/products/groupview/'.$g['Misccate']['id'])}}" target="_blank">{{$g['Misccate']['name']}}</a></h4>
			       		<div class="products">
			       		{{loop $gpros[$g['Misccate']['id']] $product}}
							<a href="{{$this->Html->url('/products/groupview/'.$g['Misccate']['id'])}}" target="_blank">
			       			<div class="cover" title="{{$product['name']}}" style="background-image:url({{$product['coverimg']}})"></div>
							</a>
			       		{{/loop}}
			       		</div>
					<p>{{usubstr($g['Misccate']['summary'],0,60,'...')}}</p>
		       		</div>
	       		</div>
			   {{/if}}
	  		{{/loop}}
	    	</div>
	    	<div>{{$page_navi}}</div>
    	</div>


		{{if $is_mobile}}
		<div id="cart1" class="cart-concern-btm-fixed">
			<div class="concern-cart">
				<a href="/wx_activities/lists?model=Baoming&status=1&creator={{$current_user_id}}" class="dong-dong-icn J_ping">
					<i class="fa fa-home"></i>
					<span class="focus-info">首页</span>
				</a>
				<a href="/users/index" class="love-heart-icn J_ping" >
					<i class="fa fa-user"></i>
					<span class="focus-info"> 我的  </span>
				</a>

			</div>
			<div class="action-list">
				<a href="/wx_activities/add?model=Baoming" class="red-color baoming-btn directorder" id="directorderBtm">
					我要分享
				</a>
			</div>
		</div>
		{{/if}}